package Bean

//用户信息实体类
type UserInfo struct {
	//用户名
	UserName string
	//用户密码
	UserPwd string

	//等级
	UserLv int
	//经验
	UserExp int

	//技能点
	UserSp int
	//金币
	UserGold int

	//回血技能等级
	ReplyHpLevel int
	//天罚技能等级
	DamageLevel int
	//召Boss技能等级
	CallBossLevel int

	//步兵等级
	InfantryLevel int
	//弓兵等级
	ArcherLevel int
	//法师等级
	MageLevel int
}

func NewUserInfo(userName string,userPwd string) UserInfo {
	return UserInfo{
		UserName:      userName,
		UserPwd:       userPwd,
		UserLv:        1,
		UserExp:       0,
		UserSp:        3,
		UserGold:      300,
		ReplyHpLevel:  3,
		DamageLevel:   3,
		CallBossLevel: 3,
		InfantryLevel: 3,
		ArcherLevel:   3,
		MageLevel:     3,
	}
}